#include "rebootui.h"
#include "ui_rebootui.h"

#include <QDebug>

RebootUI::RebootUI(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::RebootUI)
{
    ui->setupUi(this);
}

RebootUI::~RebootUI()
{
    delete ui;
}

void RebootUI::on_reboot_Btn_released()
{
    qInfo() << "---continue reboot";
    Q_EMIT continueReboot();
}


void RebootUI::on_shutdown_Btn_released()
{
    // TODO showdown now
    // call DBus login1 PowerOff
    qInfo() << "---do shutdown";
}

